from tokenize import endpats

l=[1,2,3,4,5,6,7,8,9,10]
i=0
while i< len(l):
    if l[i]%2==0:
        print(l[i],"   ",end="")
    i+=1
print()
print("----------------------")
for j in l:
    if j%2 == 0:
        print(j, "   ", end="")
    i += 1